package com.cskaoyan.service.admin;

//import com.cskaoyan.bean.MarketStorage;
//import org.springframework.web.multipart.MultipartFile;
//
//import java.io.IOException;
//
//public interface StorageService {
//    MarketStorage uploadFile(MultipartFile file) throws IOException;
//}

import com.cskaoyan.bean.MarketStorage;
import com.cskaoyan.bean.common.CommonData;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;

/**
 * @author zjq
 * @date 2022/11/20 15:15
 */
public interface StorageService {

    public MarketStorage fileUpload(MultipartFile multipartFile) throws IOException;
    public CommonData getList(Integer page, Integer limit, String key, String name);

    MarketStorage updateStorage(MarketStorage marketStorage);

    int deleteStorage(MarketStorage marketStorage);
}
